package com.zsx.shopping.ware.enums;

public enum LockStatus {

    LOCKED((byte) 1, "已锁定"),

    RELEASE((byte) 2, "已解锁"),

    REDUCE((byte) 3, "已扣减");

    private Byte code;

    private String message;

    LockStatus(Byte code, String message) {
        this.code = code;
        this.message = message;
    }

    public Byte getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
